package com.yjyw.tiexie.bean;

import java.util.List;

/**
 * Created on 2019/7/26.
 *
 * @author ${AUTHOR}
 * TODO:
 */
public class LendMoneyBean {

    /**
     * code : 100
     * msg : 请求成功
     * data : {"list":[{"uniqid":"5d3ab0a5c0eb4","amount":"3.00","loan_long":60,"amount_apply_fee":"0.00","amount_manager_fee":"0.00","amount_fee":"0.10","reback_amount":"3.10","staging_set":[{"nper":1,"money":"2220.00","time_num":60}],"total_nper":1},{"uniqid":"5d3ab0b41418a","amount":"3.00","loan_long":60,"amount_apply_fee":"0.00","amount_manager_fee":"0.00","amount_fee":"0.10","reback_amount":"3.10","staging_set":[{"nper":1,"money":"1110.00","time_num":60},{"nper":2,"money":"1110.00","time_num":60}],"total_nper":2},{"uniqid":"5d3ab0c6a4951","amount":"3.00","loan_long":60,"amount_apply_fee":"0.00","amount_manager_fee":"0.00","amount_fee":"0.10","reback_amount":"3.10","staging_set":[{"nper":1,"money":"2220.00","time_num":60}],"total_nper":1}],"loan_contract_id":12,"now_time":1565007616}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"uniqid":"5d3ab0a5c0eb4","amount":"3.00","loan_long":60,"amount_apply_fee":"0.00","amount_manager_fee":"0.00","amount_fee":"0.10","reback_amount":"3.10","staging_set":[{"nper":1,"money":"2220.00","time_num":60}],"total_nper":1},{"uniqid":"5d3ab0b41418a","amount":"3.00","loan_long":60,"amount_apply_fee":"0.00","amount_manager_fee":"0.00","amount_fee":"0.10","reback_amount":"3.10","staging_set":[{"nper":1,"money":"1110.00","time_num":60},{"nper":2,"money":"1110.00","time_num":60}],"total_nper":2},{"uniqid":"5d3ab0c6a4951","amount":"3.00","loan_long":60,"amount_apply_fee":"0.00","amount_manager_fee":"0.00","amount_fee":"0.10","reback_amount":"3.10","staging_set":[{"nper":1,"money":"2220.00","time_num":60}],"total_nper":1}]
         * loan_contract_id : 12
         * now_time : 1565007616
         */

        private int loan_contract_id;
        private long now_time;
        private int if_need_withdraw;
        private List<ListBean> list;

        public int getIf_need_withdraw() {
            return if_need_withdraw;
        }

        public void setIf_need_withdraw(int if_need_withdraw) {
            this.if_need_withdraw = if_need_withdraw;
        }

        public int getLoan_contract_id() {
            return loan_contract_id;
        }

        public void setLoan_contract_id(int loan_contract_id) {
            this.loan_contract_id = loan_contract_id;
        }

        public long getNow_time() {
            return now_time;
        }

        public void setNow_time(long now_time) {
            this.now_time = now_time;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * uniqid : 5d3ab0a5c0eb4
             * amount : 3.00
             * loan_long : 60
             * amount_apply_fee : 0.00
             * amount_manager_fee : 0.00
             * amount_fee : 0.10
             * reback_amount : 3.10
             * staging_set : [{"nper":1,"money":"2220.00","time_num":60}]
             * total_nper : 1
             */

            private String uniqid;
            private String amount;
            private int loan_long;
            private String amount_apply_fee;
            private String amount_manager_fee;
            private String amount_fee;
            private String reback_amount;
            private int total_nper;
            private List<DayDetailBean> staging_set;

            public String getUniqid() {
                return uniqid;
            }

            public void setUniqid(String uniqid) {
                this.uniqid = uniqid;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public int getLoan_long() {
                return loan_long;
            }

            public void setLoan_long(int loan_long) {
                this.loan_long = loan_long;
            }

            public String getAmount_apply_fee() {
                return amount_apply_fee;
            }

            public void setAmount_apply_fee(String amount_apply_fee) {
                this.amount_apply_fee = amount_apply_fee;
            }

            public String getAmount_manager_fee() {
                return amount_manager_fee;
            }

            public void setAmount_manager_fee(String amount_manager_fee) {
                this.amount_manager_fee = amount_manager_fee;
            }

            public String getAmount_fee() {
                return amount_fee;
            }

            public void setAmount_fee(String amount_fee) {
                this.amount_fee = amount_fee;
            }

            public String getReback_amount() {
                return reback_amount;
            }

            public void setReback_amount(String reback_amount) {
                this.reback_amount = reback_amount;
            }

            public int getTotal_nper() {
                return total_nper;
            }

            public void setTotal_nper(int total_nper) {
                this.total_nper = total_nper;
            }

            public List<DayDetailBean> getStaging_set() {
                return staging_set;
            }

            public void setStaging_set(List<DayDetailBean> staging_set) {
                this.staging_set = staging_set;
            }

            public static class StagingSetBean {
                /**
                 * nper : 1
                 * money : 2220.00
                 * time_num : 60
                 */

                private int nper;
                private String money;
                private int time_num;

                public int getNper() {
                    return nper;
                }

                public void setNper(int nper) {
                    this.nper = nper;
                }

                public String getMoney() {
                    return money;
                }

                public void setMoney(String money) {
                    this.money = money;
                }

                public int getTime_num() {
                    return time_num;
                }

                public void setTime_num(int time_num) {
                    this.time_num = time_num;
                }
            }
        }
    }
}
